<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title th:text="#{login}">登录</title>
</head>
<body>
    <form method="post" th:action="@{/login}">
        <div>
            <label for="username">用户名</label>
            <input name="username" type="text" id="username">
        </div>
        <div>
            <label for="password">密码</label>
            <input name="password" type="password" id="password">
        </div>
        <button>登录</button>
    </form>
</body>
</html>